package com.lson.springboot.dao;

import com.lson.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.cursor.Cursor;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Mapper
public interface UserDao {

    @Select(value = "select * from user" )
    Cursor<User> getUsers();
}